/**
 * 路由组件(页面名称)映射表
 */
const routes =[
    {
        path: '/404',
        name: '404',
        component: () => import('@/pages/404'),
        meta: {
            title: '页面走丢了'
         }
    },
    {
        path: '/',
        name: 'Home',
        component: () => import('@/pages/Home'),
        meta: {
            title: '首页'
         }
    },
    {
        path: '/test',
        name: 'Hello',
        component: () => import('@/pages/Hello'),
        meta: {
            title: 'Vue基本语法'
         }
    },
    {
        path: '/hello',
        name: 'HelloWorld',
        component: () => import('@/pages/HelloWorld'),
        meta: {
            title: '你好'
         }
    },
    {
        path: '/table',
        name: 'TablePage',
        component: () => import('@/pages/TablePage'),
        meta: {
            title: '数据列表'
         }
    }
    
]

export default routes